<!DOCTYPE html>
<html>
<head><link rel="stylesheet" href="index.css"/></head>
<body>
<h1>Celestia Data</h1>
<script type="module">
import * as CelestiaData from '/js/celestia-data.js';

fetch('/data/asterisms.dat').then((rsp) => {
  rsp.text().then((text) => {
      const catalog = {};
      CelestiaData.readAsterismsFile(text, catalog);
      console.log(catalog);
    });
  });
</script>
</body>
</html>
